package fiuba.td.fabrica.view.entities;

import java.awt.event.MouseListener;
import java.util.Observer;

import fiuba.td.fabrica.model.vos.Posicion;

public abstract class EntityView {
	
	private MouseListener mouseListener;
	
	public EntityView(MouseListener mouseListener) {
		this.mouseListener = mouseListener;
	}

	public abstract String getIcon();

	public abstract void deleteObserver(Observer observer);
	
	public abstract void setPosicion(Posicion posicion);
	
	public abstract void addObserver(Observer observer);

	public MouseListener getMouseListener() {
		return mouseListener;
	}

	public void setMouseListener(MouseListener mouseListener) {
		this.mouseListener = mouseListener;
	}

}
